 <!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>客户一览</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <include file="Index/common_css"/>
    <link href="__PUBLIC__/admin/css/plugins/iCheck/custom.css" rel="stylesheet">
    <style>
        .page{height:30px;}
        .page a,.pagin span{border:1px solid #ccc;padding:5px;margin-top:10px;clear:both;margin-left:10px;}
        .page span{width:20px;float:left;text-align: center;}
        .page a:hover{color:#f0580c;border-color:#f0580c;}
    </style>
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>客户一览</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li><a href="table_basic.html#">选项1</a>
                                </li>
                                <li><a href="table_basic.html#">选项2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="row">
                            <form>
                                <div class="col-sm-2 m-b-xs">
                                    <select class="input-sm form-control input-s-sm inline" name="status">
                                        <option value="0" <if condition="$status eq 0">selected</if>>全部</option>
                                        <option value="1" <if condition="$status eq 1">selected</if>>未认证</option>
                                        <option value="2" <if condition="$status eq 2">selected</if>>已申请</option>
                                        <option value="3" <if condition="$status eq 3">selected</if>>已核实</option>
                                        <option value="4" <if condition="$status eq 4">selected</if>>拒绝</option>
                                    </select>
                                </div>
                                <div class="col-sm-4">
                                    <div class="input-group">
                                        <input type="text" name="account" value="{$account}" placeholder="请输入MT4账号/邮箱/代理人/电话/身份证号码" class="input-sm form-control">
                                        <span class="input-group-btn"><button type="submit" class="btn btn-sm btn-primary">搜索</button></span>
                                    </div>
                                </div>
                            </form>
                        </div>
                        <div class="table-responsive">
                            <table class="table table-striped">
                                <thead>
                                    <tr>
                                        <th></th>
                                        <th>ID (MT4账号)</th>
                                        <th>姓名</th>
                                        <th>邮箱</th>
                                        <th>电话</th>
                                        <th>代理人</th>
                                        <th>证件类型</th>
                                        <th>证件号</th>
                                        <th>省份</th>
                                        <th>城市</th>
                                        <th>国家</th>
                                        <th>审核</th>
                                        <th>时间</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <volist name="list" id="vo">
                                    <tr>
                                        <td>
                                            <input type="checkbox" class="i-checks" name="input[]">
                                        </td>
                                        <td>{$vo.user_id}</td>
                                        <td>{$vo.user_name}</td>
                                        <td>{$vo.user_email}</td>
                                        <td>{$vo.user_phone}</td>
                                        <td>{$vo.user_recommend}</td>
                                        <td>
                                            <if condition="$vo.card_type eq 1">中国身份证
                                                <elseif condition="$vo.card_type eq 2"/>香港身份证
                                                <elseif condition="$vo.card_type eq 3"/>台湾身份证
                                                <else />护照
                                            </if>
                                        </td>
                                        <td>{$vo.user_cards}</td>
                                        <td>{$vo.province}</td>
                                        <td>{$vo.city}</td>
                                        <td>{$vo.country}</td>
                                        <td><if condition="$vo.status eq 1"><span style="color:#0b3a58;">未认证</span>
                                            <elseif condition="$vo.status eq 2"/><span style="color:red;">已申请</span>
                                            <elseif condition="$vo.status eq 3"/><span style="color:green;">已核实</span>
                                            <else /><span style="color:#C2C2C2;">拒绝</span>
                                        </if></td>
                                        <td>{$vo.user_createtime}</td>
                                        <td>
                                            <a href="__URL__/userDetail/id/{$vo.user_id}"><i class="fa fa-search-plus text-navy"></i></a>
                                            <!--<a href="#"><i class="fa fa-trash text-navy"></i></a>-->
                                        </td>
                                    </tr>
                                </volist>
                                </tbody>
                            </table>
                            <div class="page">{$page}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 全局js -->
    <include file="Index/common_js"/>
    <!-- Peity -->
    <script src="__PUBLIC__/admin/js/plugins/peity/jquery.peity.min.js"></script>
    <!-- 自定义js -->
    <script src="__PUBLIC__/admin/js/content.js?v=1.0.0"></script>
    <!-- iCheck -->
    <script src="__PUBLIC__/admin/js/plugins/iCheck/icheck.min.js"></script>
    <!-- Peity -->
    <script src="__PUBLIC__/admin/js/demo/peity-demo.js"></script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>
</body>
</html>
